MarkLogic 9 Product Documentation
HEAD /manage/v2/meters/labels/{id|name}

Summary

This resource address tests to see if the named label is in MarkLogic Server.

Response

200 OK is returned if the named label exists. Otherwise 404 Not Found is returned.

Required Privileges

This operation requires the manage-user role, or the following privilege:

http://marklogic.com/xdmp/privileges/manage

Example


curl -i -X HEAD --digest -u admin:password \
    http://localhost:8002/manage/v2/meters/labels/3108808182876923314

==> Checks for the existance of the 3108808182876923314 label.
    
Powered by MarkLogic Server | Terms of Use | Privacy Policy